import 'package:flutter_dotenv/flutter_dotenv.dart';
import 'package:fstudy/src/config/app_config.dart';

class DevConfig implements AppConfig {
  @override
  String aiApiUrl = 'https://api.deepseek.com/chat/completions';

  @override
  String aiApiKey = '';

  @override
  String conversationId = '';

  @override
  String deviceId = '';

  DevConfig() {
    // 测试环境通过读取env配置文件
    aiApiKey = dotenv.get('AI_API_KEY');
    aiApiUrl = dotenv.get('AI_API_URL');
  }

  @override
  bool isDev() {
    return true;
  }
}
